package com.nwpu.server.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableCaching
@ComponentScan(basePackages = {"com.nwpu.server.search.dao", "com.nwpu.server.search.service", "com.nwpu.server.search.controller", "com.nwpu.server.search.config"})
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class ServerSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerSearchApplication.class, args);
    }

}
